package com.study.studyInstance;

public class TestRam {
    public static void main(String[] args) {
        Stone s1 = new Stone();
        s1.name = "tom";
        s1.isMale = true;
        Stone s2 = new Stone();
        System.out.println(s2.name);
        Stone s3 = s1;
        s3.age = 10;
        System.out.println(s3);
        System.out.println(s1);
    }
}
class Stone{
    String name;
    Boolean isMale = false;
    int age = 1;
}